package com.xuetang9.t9.xinhuaxia.service;

import com.github.pagehelper.PageInfo;
import com.xuetang9.t9.xinhuaxia.beans.FirstCategory;
import com.xuetang9.t9.xinhuaxia.beans.GoodsPicturepath;

import java.util.List;

/**
 * @author 李亚奇
 * @version 1.0
 * @desc TODO
 * @date 2020/3/3 13:59
 * @copyright liyq
 * @address 成都西部国际金融中心2栋2201
 **/
public interface IGoodsPicturepathService {

    boolean insert(GoodsPicturepath goodsPicturepath);

    boolean remove(Long id);

    boolean update(GoodsPicturepath goodsPicturepath);

    GoodsPicturepath queryById(Long id);

    List<GoodsPicturepath> queryByGoodsId(Long id);

    PageInfo<GoodsPicturepath> queryByPage(int currentPage, int perPageSize);
}
